import { Module } from '@nestjs/common';
import { MineController } from './mine.controller';
import { MineService } from './mine.service';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Diary, DiaryBill } from 'src/diary/diary.entity';
import { User } from 'src/user/user.entity';
import { AuthService } from 'src/services/Auth';
import { VipInfo } from 'src/vipInfo/vipinfo.entity';
import { VipInfoService } from 'src/vipInfo/vipInfo.service';
import { Goods } from 'src/goods/goods.entity';
import jwt from 'src/config/jwt';

@Module({
  imports: [TypeOrmModule.forFeature([Diary, DiaryBill, User, VipInfo, Goods]), jwt],
  controllers: [MineController],
  providers: [MineService, AuthService, VipInfoService],
})
export class MineModule { }
